import Mock from 'mockjs'

const List = []
const count = 10

for (let i = 0; i < count; i++) {
  List.push(Mock.mock({
    filename: '@word(5,8)',
    filetype: '.md',
    filesize: '@integer(30,100)' + 'M',
    author: '@first',
    timestamp: +Mock.Random.date('T'),
    content: Mock.mock('@paragraph(1, 3)')
    // 子目录
    // children: []
  }))
}

export default List
